package com.aos.erp.schools.model.sys.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: erp
 * @description: 驾校用户
 * @author: tanzhiyu
 * @create: 2018-11-20 15:46
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("驾校用户")
public class SchoolUserVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户名字")
    private String name;

    @ApiModelProperty(value = "用户账号", hidden = true)
    private String username;

    @ApiModelProperty("登陆密码或者密码标识(比如密码md5)")
    private String password;

    @ApiModelProperty("部门组织code")
    private String depCode;

    @ApiModelProperty(value = "用户到期时间 （默认空表示长期）")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireDatetime;

    @ApiModelProperty(value = "操作人id", hidden = true)
    private Long operatorId;

    @ApiModelProperty(value = "appCode")
    private String appCode;

    @ApiModelProperty(value = "depId")
    private Long depId;
}
